//
//  SGHealthViewController.m
//  MomHelp
//
//  Created by xuguoyong on 16/8/11.
//  Copyright © 2016年 hudongkeji. All rights reserved.
//

#import "SGHealthViewController.h"
#import "CacheSqliteTool.h"
#import "UserInfoModel.h"
#import "GetUserInfoParm.h"
#import <UIImage+GIF.h>

@interface SGHealthViewController ()<UITableViewDelegate,UITableViewDataSource>
{
    UIImageView  *_gifview;
}
@property (nonatomic,weak) UITableView *tabelView;

@end

@implementation SGHealthViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = SGRandomColor;
   
    self.tabelView = [self addTableViewWithDelegate:self style:UITableViewStyleGrouped];
    self.tabelView.separatorColor = [UIColor redColor];
    
    
   
   
}


- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
    return 20.0f;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cell"];
    if (!cell) {
        cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:@"cell"];
    }
    cell.textLabel.text = [NSString stringWithFormat:@"测试%ld",indexPath.row];
    return cell;
}

- (void) viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];


    
}
- (void)viewWillDisappear:(BOOL)animated
{
    [super viewWillDisappear:animated];
 
}
@end
